// 引入组件库的css样式
@import './assets//font/iconfont.css';
@import 'antd/dist/antd.css';


html,
body,
#root,
.App {

  height: 100%;

}

// 登陆，注册
.register,
.login {
  height: 100%;
  background: url(./assets/box.jpg);
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  .register_1{
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
  }

  .ant-form {
    width: 400px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
  }

}



.ant-layout-header {
  background-color: white;
  display: flex;
  justify-content: space-between;

  .left {
    display: flex;
    text-align: center;

    img.logo {
      width: 60px;
      margin-right: 10px;
    }

    // span{
    //   margin-right: 50px;
    // }
  }
}

.ant-layout-sider {
  background-color: white;
}

.home {
  margin-top: 20px;
  height: 350px;

  .ant-carousel {
    height: 100%;
  }

  .box {
    width: 95%;
    margin: auto;
    height: 200px;

    img {
      width: 100%;
      height: 100%;
    }

  }

  .quanchuang {
    border-left: 2px solid blue;
    width: 95%;
    margin: auto;
    margin-top: 20px;
    padding-left: 10px;

  }

  ul {
    margin-top: 30px;

    li {
      margin-bottom: 10px;
    }
  }
}

.ant-carousel .slick-dots-bottom {
  bottom: -90px;
}

.login {
  width: 100%;
  height: 100%;
  position: relative;

  img {
    width: 100%;
    height: 100%;
  }

  .form_box {
    width: 400px;
    height: 300px;
    background-color: white;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;

    .ant-btn-primary {
      text-align: center;
    }
  }

}



.servicecenter {
  margin-top: 20px;
  height: 350px;

  .ant-carousel {
    height: 100%;
  }

  .box {
    width: 95%;
    margin: auto;
    height: 200px;

    img {
      width: 100%;
      height: 100%;

    }

  }

  .quanchuang {
    border-left: 2px solid blue;
    width: 95%;
    margin: auto;
    margin-top: 20px;
    padding-left: 10px;

  }

  ul {
    display: flex;

    li {
      margin-right: 10px;

      img {
        width: 60px;
      }
    }
  }
}
//客户管理
.customcenter{
  h1{
    font-size: 20px;
    margin-left: 20px;
  }
}
//系统管理
.systemmanage{
  h1{
    font-size: 20px;
    margin-left: 20px;
  }
}

// 员工管理
.staffmanage {
  padding-left: 20px;
  padding-right: 20px;
  h1{
    color: skyblue;
    font-size: 30px;
  }

  .title {
    font-size: 20px;
    font-weight: bold;
    margin-left: 40px;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .ope {
    margin: 20px 20px;

    .ant-input-group-wrapper {
      width: 300px;
      margin-right: 20px;
    }
  }
  
}
.ant-modal-footer{
  // display: none;
  
}

// 角色管理权限
.roleManage {
  padding-left: 20px;
  padding-right: 20px;

  .title {
    font-size: 20px;
    font-weight: bold;
    margin-left: 40px;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .ope {
    margin: 20px 20px;

    .ant-input-group-wrapper {
      width: 300px;
      margin-right: 20px;

      .ant-table-tbody>tr>td {
        text-align: center;
      }
    }

  }
}

.ant-table-thead>tr>th,
.ant-table-tbody>tr>td {
  text-align: center;
}

//客户管理
.customManage {
  padding-left: 20px;
  padding-right: 20px;

  .title {
    font-size: 20px;
    font-weight: bold;
    margin-left: 40px;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .ope {
    margin: 20px 20px;

    .ant-input-group-wrapper {
      width: 300px;
      margin-right: 20px;

      .ant-table-tbody>tr>td {
        text-align: center;
      }
    }

    .button_box{
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 20px 0;
      .left{
          .ant-btn{
              margin-right: 10px;
          }
      }
      .button_box_right{
          display: flex;
          .ant-btn{
              margin-left: 10px;
          }
      }
  }

  }
}

//实时数据
.historydata,.realtimedata {
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;

  .title {
    font-size: 20px;
    font-weight: bold;
    margin-left: 40px;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .data_box{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    .data_one{
      width: 19%;
      height: 180px;
      text-align: center;
      background-color: white;
      border-radius: 5px;
      .p1{
        margin-top:20px;
      }
      h1{
        color: skyblue;
        font-size: 30px;
      }
      .p2{
        height: 35%;
        background-color: #ccc;
        line-height: 50px;
      }
    }
  }
  //图表
.myecharts{
  width: 100%;
  #main{
    width: 100%;
    height: 400px;
  }
}
}
.myechartsone{
  width: 100%;
  #main{
    width: 100%;
    height: 400px;
  }
}

